package com.bzchao.github;

import com.bzchao.github.common.DemoService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@RefreshScope
@EnableScheduling
@SpringBootApplication
public class NacosDubboConsumerBootstrap {
    @Reference(version = "1.0.0")
    private DemoService demoService;

    public static void main(String[] args) {
        SpringApplication.run(NacosDubboConsumerBootstrap.class, args);
    }

}